<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-3.4.1.min.js"></script>
    <script>
        $(function () {
           $("#btn").click(function () {
               $.get("admin/findall",function (res) {
                   alert("用户信息如下："+JSON.stringify(res));
               })
           });
        });
    </script>
</head>
<body>
  <button type="button" id="btn">获得又有的管理员</button>
</body>
</html>